package com.android.infantschool.bean;

import java.util.List;

/**
 * author:Administrator
 * Date:2019/7/27 0027
 * Description:
 */
public class ToViewBindingBean extends BaseBean {

    /**
     * code : 0
     * msg : SUCCESS
     * count : 2
     * data : [{"babyId":3,"babyImg":"http://pvqwzoyfw.bkt.clouddn.com/546CF5437068B339D70A24F196151823.jpg","parentsName":"张三","phone":"132132123","role":" 父亲"},{"babyId":3,"babyImg":"http://pvqwzoyfw.bkt.clouddn.com/546CF5437068B339D70A24F196151823.jpg","parentsName":"张三","phone":"132132123","role":"母亲"}]
     */

    private int code;
    private String msg;
    private int count;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * babyId : 3
         * babyImg : http://pvqwzoyfw.bkt.clouddn.com/546CF5437068B339D70A24F196151823.jpg
         * parentsName : 张三
         * phone : 132132123
         * role :  父亲
         */

        private int babyId;
        private String babyImg;
        private String parentsName;
        private String phone;
        private String role;

        public int getBabyId() {
            return babyId;
        }

        public void setBabyId(int babyId) {
            this.babyId = babyId;
        }

        public String getBabyImg() {
            return babyImg;
        }

        public void setBabyImg(String babyImg) {
            this.babyImg = babyImg;
        }

        public String getParentsName() {
            return parentsName;
        }

        public void setParentsName(String parentsName) {
            this.parentsName = parentsName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }
    }
}